package com.sniper.clienthi.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author suzhen
 * @create 2018/4/3
 */
@FeignClient(name = "service-dba")
public interface ServiceDbaService {

    @RequestMapping(value = "/line-shop/hi", method = RequestMethod.GET)
    String hi(@RequestParam("name") String name);

    @RequestMapping(value = "/line-shop/hi2", method = RequestMethod.GET)
    String hi2(@RequestParam("name") String name);

}
